   
   <div class="app-content">
<script src="__MOBILE__/js/mobile/clipboard.min.js"></script>
<script class="ng-scope">
$(function(){
$(".dropdowncentermenu").css("display", "none");
$(".dropdowncentermenu2").css("display", "none");
$("#maintitle").html ("代理中心 - 代理报表"); 
$(".navbar-absolute-bottom").css ("display" , "none");
$(".infopanel").css ("display" , "none");
$(".navbar-brand-center").css ("margin-left" , "0px");

checkmargin ();

$(".settingtab").click(function(t){
  tab = $(this).attr('data-id');
  $('.settingtab').removeClass('active');
  $('.settingContainer').hide();
  $(this).addClass('active');
  $("#"+tab).show();
});
});

function changePage(x) {
 
  member_name = $('#member_name').val();
  if(member_name==''){
member_name=0;
}
  beginValue = $('#begin').val();
  endValue = $('#end').val();


  window.location = '#/agent/dl_money/'+member_name+'/'+beginValue+'/'+endValue+'/'+x;
}
</script>

<style class="ng-scope">.has-navbar-top .app-body { padding-top: 72px; }
.settingmenu{margin-bottom:17px;}
.agent-box ul,.agent-box h3,.agent-box h4,.agent-box p{padding:0; margin:0;}
.agent-box ul{list-style:none;}
.agent-box h3{font-weight:normal;}
.agent-box .ab-link{padding:20px 10px;}
.agent-box h3{font-size:20px; padding-bottom:20px;}
.agent-box .ab-link .txt{height:44px; border:0; background-color:rgb(238,238,238); border-radius:5px; overflow:hidden; width:100%; font-size:18px; outline:none; box-sizing:border-box; padding:0 10px; border:1px solid #dadada;}
.agent-box .ab-link .btn{height:44px; border:0; background-color:#ff4e00; border-radius:5px; overflow:hidden; color:#fff; width:100%; font-size:18px; outline:none; box-sizing:border-box;}
.agent-box .ab-link .item+.item{padding-top:15px;}
.agent-box .ab-link .shuom{font-size:18px; color:#999;}
.agent-box .ab-link .shuom h4{padding-bottom:15px; padding-top:15px;}
.agent-box .ab-bil{padding:20px 10px;}
.agent-box .ab-bil .item{display:-webkit-box; display:-webkit-flex; display:flex; border:1px solid #dadada; border-radius:5px; position:relative; overflow:hidden;}
.agent-box .ab-bil .item+.item{margin-top:10px;}
.agent-box .ab-bil .item .tit{display:block; padding:0 10px; height:44px; line-height:44px; font-size:18px; font-weight:normal; margin:0;}
.agent-box .ab-bil .item .inp{webkit-box-flex:1; -webkit-flex:1; flex:1;}
.agent-box .ab-bil .item .inp input[type="number"]{width:100%; height:44px; padding:0 44px 0 10px; font-size:20px; color:#000; outline:none; box-sizing:border-box; -webkit-appearance:none; appearance:none; border:none; text-align:right;}
.agent-box .ab-bil .item span{position:absolute; top:50%; right:10px; -webkit-transform:translateY(-50%); transform:translateY(-50%); font-size:18px; color:#999;}
.agent-box .ab-bil .btn{height:44px; border:0; background-color:#2061b3; border-radius:5px; overflow:hidden; color:#fff; width:100%; font-size:18px; outline:none; box-sizing:border-box;}

.agent-box .au-list{font-size:18px; line-height:1; padding:0 10px;}
.agent-box .au-list ul{border:1px solid #dadada;}
.agent-box .au-list li{padding:10px;}
.agent-box .au-list li+li{border-top:1px solid #dadada;}
.agent-box .au-list .au-body{position:relative;}
.agent-box .au-list .au-body h4{font-size:20px; color:#000; padding-bottom:10px;}
.agent-box .au-list .au-body h4 span{color:#999; font-size:18px; padding-left:10px;}
.agent-box .au-list .au-body time{color:#999;}
.au-red{color:red;}
.au-green{color:green;}
.agent-box .au-list .au-yue{position:absolute; top:50%; right:0; -webkit-transform:translateY(-50%); transform:translateY(-50%); text-align:right;}
.agent-box .au-list .au-yue span{font-size:18px; color:#999;}
.agent-box .au-list .au-yue strong{font-size:24px; color:#f00;}
.agent-box .au-list .au-yue strong i{font-size:18px; color:#999; font-style:normal;}
.agent-box .au-search{padding:0 10px; height:44px; position:relative; font-size:0; margin-bottom:15px;}
.agent-box .au-search .sinp{height:44px; border:none; background-color:rgb(238,238,238); border-radius:5px; overflow:hidden; width:100%; font-size:18px; outline:none; box-sizing:border-box; padding:0 10px; border:1px solid #dadada;}
/*.agent-box .au-search .sbtn{width:40px; height:40px; border:none; background:url(images/mobile/ico_search_white.png) no-repeat; background-size:40px; position:absolute; top:50%; right:14px; -webkit-transform:translateY(-50%); transform:translateY(-50%);}*/
.agent-box .au-date{padding:0 10px; display:-webkit-box; display:-webkit-flex; display:flex; margin:0 0 15px;}
.agent-box .au-date .d-item{webkit-box-flex:1; -webkit-flex:1; flex:1; display:flex; border:1px solid #dadada; border-radius:5px; position:relative; overflow:hidden;}
.agent-box .au-date .d-item input[type="date"]{width:100%; height:44px; padding:0 5px; box-sizing:border-box; background-color:rgb(238,238,238); font-size:20px; font-weight:normal; color:#000; outline:none; -webkit-appearance:none; appearance:none; border:none;/* text-align:right;*/}
.agent-box .au-date .d-line{line-height:44px; padding:0 5px; font-size:20px;}
.agent-box .au-fbtn{padding:0 10px; margin-bottom:15px;}
.agent-box .au-fbtn .btn{height:44px; border:0; background-color:#2061b3; border-radius:5px; overflow:hidden; color:#fff; width:100%; font-size:18px; outline:none; box-sizing:border-box;}
.agent-box .au-quick{padding:0 10px; margin-bottom:15px;}
.agent-box .au-quick .btn{height:44px; border:0; background-color:#ccc; border-radius:5px; overflow:hidden; font-size:18px; outline:none; box-sizing:border-box; margin-right:20px; color:#000;}
</style>
<div class="scrollable ng-scope">
<div class="scrollable-content member-setting overthrow">

<div>

  <div class="clearfix margintop10 marginleft10">
      <div class="fl"><img src="__MOBILE__/default/images/mobile/cash/icouser.jpg" width="47" height="46" alt=""></div><div class="fl blue cnbig1 marginleft10 margintop15"><?php echo $_SESSION['member_name']?></div>
    </div>
     <div class="settingmenu margintop10 clearfix">
        <a href="#/agent/index" class="colbtn">
          <img src="__MOBILE__/default/images/mobile/cash/icolink.jpg" width="73" height="74" alt="">
            <p class="margintop10">推广网址</p>
           
        </a>
        <a href="#/agent/child" class="colbtn">
          <img src="__MOBILE__/default/images/mobile/cash/icoxiax.jpg" width="73" height="74" alt="">
            <p class="margintop10">下线会员</p>
         
        </a>
        <a href="#/agent/dl_money" class="colbtn">
          <img src="__MOBILE__/default/images/mobile/cash/icotongj.jpg" width="73" height="74" alt="">
            <p class="margintop10">代理报表</p>
             <div class="settingarrow"></div>
        </a>
    </div>
    <div class="agent-box agent-user">
      <div class="au-search"><input type="text"id="member_name" placeholder="输入要搜索的会员账号"value="<?php echo $_GET['member_name']?>" class="sinp"><!-- <input type="button" class="sbtn"> --></div>
      <div class="au-date"><span class="d-item"><input type="date"id="begin"value="{$begin}"></span><span class="d-line">-</span><span class="d-item"><input type="date"id="end"value="{$end}"></span></div>
     
      <div class="au-fbtn"><input type="button" class="btn" value="搜索" onClick="changePage(1)"></div>
      <div class="au-list">
        <ul>
			<if condition="$list">
		<foreach name="list" item="vo">
          <li>
            <div class="au-body">
              <h4>{$vo.member_name}<span>@{$vo.c_name}</span></h4>
              <time><?php echo date('Y-m-d H:i:s',$vo['add_time'])?></time>
              <div class="au-yue"><span>下注/退水</span><br><strong>{$vo.money}<i>/{$vo.f_money}</i></strong></div>
            </div>
          </li>
         
          <div style="height:44px; line-height:44px; background-color:rgb(238,238,238); border-top:1px solid #dadada; padding:0 10px;">
            <div style="text-align:right; font-size:18px; color:#999;"><span>总计：</span><strong style="font-size:24px; color:#f00;">{$money}</strong>/<i style="font-style:normal;">{$f_money}</i></div>
          </div>
		    </foreach>
		 <else/>
		   <li>
            <div class="au-body" style="text-align:center">
             暂无数据!
            </div>
          </li>
		   </if>
        </ul>
      </div>
	     {$page}
    </div>   
    

</div>

</div>
</div>
<script class="ng-scope">
// var hash = window.location.hash;
// hash =  hash.split('/')[3];
// $('.settingtab:nth-child('+hash+')').click();
</script>
<script>
$(function(){
  var pank=$("#pank");
  var pankType=$("#pank").find("select");
  var pankCont=$("#pank").find("ul");
  pankType.change(function(){
    var that=$(this).val();
    if(that>=0){
      pankCont.each(function(){
        pankCont.hide();
      });
      pankCont.eq(that).show();
    }else{
      pankCont.hide();
    }
  });
  var bcopye=new Clipboard("#bcopye");
  bcopye.on('success',function(e) {
    alert('复制成功!')
    e.clearSelection();
  });
  bcopye.on('error',function(e) {
    alert('请选择“拷贝”进行复制!')
  });
});
</script>
        </div>
     